<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <div class="layui-form timo-compile">
    <form th:action="@{/message/messageSet/save}">
        <input type="hidden" name="id" th:if="${messageSet}" th:value="${messageSet.id}">
       <!--  <div class="layui-form-item">
            <label class="layui-form-label">是否审核</label>
            <div class="layui-input-inline">
                 <input type="radio" name="tz_audit" value="0" title="否" th:checked="${messageSet.tz_audit==0}">
                 <input type="radio" name="tz_audit" value="1" title="是" th:checked="${messageSet.tz_audit==1}">
           
            </div>
        </div> -->
        <div class="layui-form-item">
            <label class="layui-form-label">置顶时长</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="toptimes" placeholder="请输入" th:value="${messageSet?.toptimes}">
            </div>
            <div>(分钟)</div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">发帖数量限制</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="ft_num" placeholder="请输入发帖数量限制" th:value="${messageSet?.ft_num}">
            </div>
             <div>(次)</div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>